import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/addType',
      component: () => import('../views/AddType.vue'),
    },
    {
      path: '/showType',
      component: () => import('../views/ShowType.vue'),
    },
    {
      path: '/updType',
      component: () => import('../views/UpdType.vue'),
    },
  ],
})

export default router
